package appapi.service;

import appapi.Request.Basic.StaffReq;
import appapi.Request.StaffPageReq;
import appapi.dto.EditPwdDto;
import appapi.entity.Zhongjiao.StaffDto;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author djq
 * @date 2023/5/10 9:39
 * @description:
 */
@Repository
public interface IStaffService {
    int InsertStaff(StaffDto dto);

    int UpdateStaff(StaffDto dto);

    int DelStaff(List<Long> staffId);

    int ResetPwd(Long staffId);

    List<Map<String, Object>> SelectStaffPage(StaffPageReq dto);

    List<StaffDto> SelectStaffList(StaffReq req);

    Map<String, Object> SelectStaffDetail(Long staffId);

    void UpdatePwd(EditPwdDto dto);
}
